package ht.domain;

import java.util.List;

/**
 * Created by charmyyy on 2017/10/20.
 */
public class Page<T> {
    private String totalProperty;
    private List<T> root;

    public Page(String totalProperty, List<T> root) {
        this.totalProperty = totalProperty;
        this.root = root;
    }

    public String getTotalProperty() {
        return totalProperty;
    }

    public void setTotalProperty(String totalProperty) {
        this.totalProperty = totalProperty;
    }

    public List<T> getRoot() {
        return root;
    }

    public void setRoot(List<T> root) {
        this.root = root;
    }

    @Override
    public String toString() {
        return "Page{" +
                "totalProperty='" + totalProperty + '\'' +
                ", root=" + root +
                '}';
    }
}
